<script setup lang="ts">
</script>

<template>
  <div class="header-top">
    <div class="title-left">
      <div class="name">数据中心运维管理平台</div>
    </div>
    <div class="title-right">
      <div>监控台</div>
      <div>工作台</div>
      <div>设置</div>
      <div class="alarm-icon"></div>
      <div class="user-icon"></div>
    </div>
  </div>
</template>

<style scoped lang="stylus">
.header-top {
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, rgba(160, 232, 255, 1) 0%, rgba(160, 232, 255, 0.6) 80%, #FFFFFF 100%);
  // background: var(--top-background);
  position: relative;
}
.title-left {
  position: absolute;
  left: 20px;
  padding-left: 60px;
  line-height: 50px;
  font-size: 24px;
  font-family: DINPro;
  color: rgba(69, 69, 69, 1);
  font-weight: 300;
  &::before {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 5px;
    background: url('@/assets/home/logo.png') no-repeat;
  }
}
.title-right {
  position: absolute;
  right: 10px;
  width: 205px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  line-height: 50px;
  font-size: 12px;
  font-family: DINPro;
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
  cursor pointer
  .alarm-icon {
    margin-top: 16px;
    width: 16px;
    height: 17px;
    background: url('@/assets/home/alarm_icon.png') no-repeat;
  }
  .user-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(216, 216, 216, 1);
    margin-top: 10px;
    position: relative;
    &::after {
      content: '';
      position: absolute;
      left: 7px;
      top: 5px;
      width: 16px;
      height: 20px;
      background: url('@/assets/home/user_icon.png') no-repeat;
    }
  }
}
</style>
